import React from 'react';
import {Layout} from 'antd';
import IndexSider from "@/pages/Index/components/IndexSider";
import IndexHeader from "@/pages/Index/components/IndexHeader";
import IndexContent from "@/pages/Index/components/IndexContent";
import IndexFooter from "@/pages/Index/components/IndexFooter";
// 导入1
// import {TOne,TTwo,userName} from "@/utils";
// 导入2
import type {TOne,TTwo} from "@/utils";
import {userName} from "@/utils";
import "./index.less";

const Index: React.FC = () => {
    const str:TOne = "lisi";
    const num:TTwo = 100;
    console.log(userName,str,num);
    return (
        <Layout style={{minHeight: '100vh'}}>
            <IndexSider/>
            <Layout className="site-layout">
                <IndexHeader/>
                <IndexContent/>
                <IndexFooter/>
            </Layout>
        </Layout>
    );
};

export default Index;